// Desc: 用于处理多个箱号的情况
  export function formatContainerNo (containerNo) {
    if (!containerNo) return { container: "", containerList: [] };
    // let containerList = containerNo.trim().replace(/，/g, ',').split(',').filter(Boolean); //去除前后空格
    let containerList = containerNo.replace(/\s/g, '').replace(/，/g, ',').split(',').filter(Boolean);//去除所有空格
    containerList = [...new Set(containerList)]; // 去重
    return containerList.length > 1 ? { container: "", containerList } : { container: containerList[0], containerList: [] };
  }